const Timestamp = new Date().getTime(); //当前时间为了防止打包缓存不刷新，所以给每个js文件都加一个时间戳
module.exports = {
    productionSourceMap: false,
    devServer: {
        disableHostCheck: true,
        proxy: {
            '/russia': {
                // target: 'http://192.168.110.226:9099',
                target: 'https://test2.lyhctech.com',
                changeOrigin: true,
                // pathRewrite: {
                //     '/api': ''
                // }
            },
            '/api': {
                // target: 'http://192.168.110.226:9099',
                target: 'https://h5.lifsong365.com',
                changeOrigin: true,
                // pathRewrite: {
                //     '/api': ''
                // }
            }
        },
        // https: true,
        // host: '192.168.110.172',
        port: 9099,
        disableHostCheck: true,
    },
    publicPath: './',
    productionSourceMap: false //true开发环境、false生产环境
}
